package com.melodyframe.tableland.engine.process.command;

import java.util.List;
import java.util.Set;

/**
 * <h1>指令处理器</h1>
 * <p>
 * 处理并响应玩家{@link Command 指令}
 * </p>
 * 
 * @author ettear
 */
public interface CommandProcessor<T extends Command> {

    /**
     * 执行玩家指令
     * 
     * @param commandSet
     * @return
     */
    public List<Set<CommandPower<Command>>> doCommand(Set<T> commandSet);
}
